package top.ucat.x.system.service.provider;

import top.ucat.x.system.entity.SysUser;

import java.util.Set;

/**
 * @Auther: Jun
 * @Date: 2020/4/3 13:36
 * @Description:
 */
public interface SystemUserService {
    /**
     * 获取用户信息
     *
     * @param userCode
     * @return
     */
    SysUser getUserByUserCode(String userCode);

    Set<String> getUserPermissionCodes(String userId);

    Set<String> getUserRoles(String userId);
}
